import Vue from "vue";
import Vuex from "vuex";
import state from "./state"
import mutations from "./mutations"
import actions from './actions'
import getters from "./getters"
import order from "./modules/order"
import cart from './modules/cart'
Vue.use(Vuex);

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    order,
    cart
  }
});
